package com.jinyu.demo.provider;

import com.jinyu.demo.DemoService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Value;

@DubboService
public class DemoServiceImpl implements DemoService {
    @Value("${zookeeper.address}")
    private String zookeeperAddress;
    @Override
    public String sayHello(String name) {
        return "Dubbo spring boot hello" + zookeeperAddress;
    }
}
